package com.yf.dxs.wo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yf.dxs.wo.redis.AbstractRedisMsg;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("wo_order_msg")
public class WoOrderMsgDO extends AbstractRedisMsg {

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 消息ID
     */
    private String msgId;
    /**
     * 订单编号
     */
    private Long orderNo;
    /**
     * 微盟用户ID
     */
    private Long wid;
    /**
     * 订单状态
     */
    private Integer orderStatus;
    /**
     * 支付状态
     */
    private Integer paymentStatus;
    /**
     * 支付方式
     */
    private Integer paymentType;
    /**
     * 订单类型
     */
    private Integer orderType;
    /**
     * 订单来源
     */
    private Integer orderSource;
    /**
     * 发货方式
     */
    private Integer deliveryType;

    /**
     * 售后状态
     */
    private Integer rightStatus;

    /**
     * 订阅状态
     *
     * 枚举 {@link TODO sub_status 对应的类}
     */
    private Integer subStatus;

    private Date createTime;

    private Date updateTime;

}
